//
//  CASTViewController.h
//  ChromekeyDemo
//
//  Created by Paul Carff on 4/14/13.
//  Copyright (c) 2013 Paul Carff. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MediaPlayer/MediaPlayer.h"
// IMPORT THE GCK FRAMEWORK
#import <GoogleCast/GoogleCast.h>

//@interface GCKViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, GCKDeviceManagerDelegate,
//        UIActionSheetDelegate, GCKDeviceScannerListener, GCKDeviceManagerDelegate,
//        GCKMediaControlChannelDelegate>

@interface GCKViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, GCKDeviceManagerDelegate,
            UIActionSheetDelegate, GCKDeviceScannerListener, GCKDeviceFilterListener, GCKDeviceManagerDelegate,
            GCKMediaControlChannelDelegate>



@property (weak, nonatomic) IBOutlet UITableView *mediaTableView;
@property (weak, nonatomic) IBOutlet UIView *mediaView;
//@property (weak, nonatomic) IBOutlet UILabel *statusLabel;
@property (weak, nonatomic) IBOutlet UISlider *playProgressSlider;
@property (strong, nonatomic) IBOutlet UISlider *volumeSlider;
@property (weak, nonatomic) IBOutlet UILabel *currentlyPlaying;
@property (weak, nonatomic) IBOutlet UIImageView *volumeImage;

@property (nonatomic, strong) NSArray *keys;
@property (nonatomic, strong) NSArray *urls;
@property (nonatomic, strong) NSArray *mimeTypes;
@property (nonatomic, strong) NSDictionary *data;

@property (nonatomic, strong) IBOutlet UIButton *playPauseButton;
@property (nonatomic, strong) IBOutlet UIButton *stopButton;

@property (nonatomic, strong) IBOutlet UIButton *selectDeviceButton;


- (IBAction)playPauseVideo:(UIButton *)sender;
- (IBAction)stopVideo:(UIButton *)sender;
- (IBAction)changeVolume:(UISlider *)sender;
- (IBAction)showActionSheet:(id)sender;

@end
